home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 173_01 / cde.bat < prev    next >
DOS Batch File  |  1980-01-01  |  640b  |  23 lines

  1. echo off
  2. echo LATTICE: Large memory & Large Code model
  3. if exist %1 goto syntax
  4. \lc\lc1 >%1.err -ml -n -i\lc\ -i\lc\d\ %1.c
  5. if errorlevel 1 goto err1
  6. echo LATTICE: Phase 1 processing complete for %1
  7. del %1.err
  8. \lc\lc2 -k80286 %1
  9. goto quit
  10. :err1
  11. echo LATTICE: Errors detected in %1
  12. echo          Merging errors into %1.C source file
  13. errmerge %1
  14. del %1.err
  15. goto quit
  16. :syntax
  17. echo LATTICE: A file EXIST error for %1
  18. echo          Rerun without file extent.
  19. :quit
  20.  %1
  21. del %1.err
  22. goto quit
  23. :synt